package com.slz3.business.module.messageManagement.mesType.service;

import com.slz3.business.module.messageManagement.mesType.domain.MesType;
import org.springframework.data.domain.Page;
import org.springframework.util.MultiValueMap;

import java.util.List;
import java.util.Optional;
import java.util.UUID;

/**
 * 非事务型 service
 */
public interface MesTypeService {

    MesType save(MesType mesType);

    Page<MesType> page(MultiValueMap<String, String> queryParams);

    MesType modify(MesType mesType);

    Optional<MesType> single(UUID uuid);

    List<MesType> findAllByUuids(Iterable<UUID> uuids);

    List<MesType> delete(List<MesType> mesTypeList);

}
